<template>
  <!-- 现价表 -->
  <div>
    <h4>现价表</h4>
    <Table :columns="columns" :data="tableData" :loading="isLoading" style="margin-top:10px"></Table>
  </div>
</template>

<script>
import { loadResourcesMixin } from "../../../util/mixins/loadResourcesMixin";
export default {
  name: "currentPriceT",
  mixins: [loadResourcesMixin],
  data() {
    return {
      mixinData: {
        tableAxios: "selectcashvalue",
      },
      columns: [
        {
          title: "保单年度末",
          key: "endOfPolicyYear",
          align: "center",
        },
        {
          title: "现金价值（元）",
          key: "cashValue",
          align: "center",
        },
      ],
    };
  },
  created() {
    this.form.contNo = this.$route.query.contNo;
    // this.form.contNo = "713202100000106";
  },
  methods: {
    tableThen(res) {
      this.tableData = res.data;
    },
  },
};
</script>